﻿using Face8280WebSocketServer.Model.People;
using Face8280WebSocketServer.Utility.VerifyAttribute;
using System;

namespace Face8280WebSocketServer.Controllers.People
{
    /// <summary>
    /// 更新设备的参数
    /// </summary>
    public class PeopleGetPhotoParameter  
    {
        /// <summary>
        /// 人员ID
        /// </summary>
        [VerifyNum(iMax: int.MaxValue, iMin: 1,
                errCode: 1, sErrorDesc: "人员id超出范围(1-2147483647)")]
        public long id { get; set; } //是

        /// <summary>
        /// 照片文件CRC
        /// </summary>
        [VerifyLong(iMax: UInt32.MaxValue, iMin: 1,
                errCode: 1, sErrorDesc: "人员编号超出范围(1-4294967295)")]
        public long crc { get; set; } //是

    }
}
